﻿<%@ Page Language="C#" MasterPageFile="~/castcom.master" AutoEventWireup="true" CodeFile="Login.aspx.cs"
    Inherits="Login" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <p>
        Login</p>
    <table>
        <tr>
            <td>
                Pseudo
            </td>
            <td>
                <asp:TextBox ID="tbLogin" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="tbLogin" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Mot de passe
            </td>
            <td>
                <asp:TextBox ID="tbPassword" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="tbPassword" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="bLogin" runat="server" Text="Identification" 
                    onclick="bLogin_Click" />
            </td>
        </tr>
    </table>
    
<asp:Label ID="lWrongPassword" runat="server" 
        Text="Mauvais mot de passe ou Pseudo non enregistre" Visible="False"></asp:Label>
    </asp:Content>
